package cn.edu.lzu.unitweb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@MapperScan(value = "cn.edu.lzu.dao")
@ComponentScan(basePackages = {"cn.edu.lzu.service", "cn.edu.lzu.unitweb"})
@SpringBootApplication


public class UnitWebApplication {

    public static void main(String[] args) {
        ApplicationContext applicationContext=SpringApplication.run(UnitWebApplication.class, args);

    }

}
